
#ifndef playerAnim_h
#define playerAnim_h

#include "displayObject.h"

DisplayObject *WalkAnimationCreate();

void WalkAnimationGotoAndPlay(struct DisplayObject *anim, int frameIndex);

void WalkAnimationGotoAndStop(DisplayObject *anim, int frameIndex);

SDL_bool WalkAnimationIsWalking(struct DisplayObject *anim);
void walkAnimDir(struct DisplayObject *anim, int dir);
void WalkAnimationWalkRight(struct DisplayObject *anim);

void WalkAnimationWalkLeft(struct DisplayObject *anim);

void WalAnimationStop(struct DisplayObject *anim);

void WalkAnimationDestroy(struct DisplayObject *self);

#endif 
